package com.hetang.maijiayun.adaptertools.adapter;

import com.hetang.maijiayun.adaptertools.controller.vo.request.DetectorRequest;

import java.util.List;
import java.util.Map;

/**
 * Created by wanda on 11/3/15.
 * 目标接口
 */
public interface ITarget {
    /**
     * 获取门店丢单数量
     *
     * @param authorizesMap
     * @param request
     * @return
     * @throws Exception
     */
    public Integer request(Map<String, String> authorizesMap, DetectorRequest request) throws Exception;

    /**
     * 获取门店订单丢失的列表
     *
     * @param authorizesMap
     * @param request
     * @return
     * @throws Exception
     */
    public List<String> requestOrders(Map<String, String> authorizesMap, DetectorRequest request) throws Exception;
}
